package com.online.questionnaire.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.online.questionnaire.model.Questions;
import com.online.questionnaire.model.dto.QuestionsDTO;
import org.springframework.transaction.annotation.Transactional;

/**
* @author 27701
* @description 针对表【questions】的数据库操作Service
* @createDate 2025-02-13 16:30:47
*/
public interface QuestionsService extends IService<Questions> {

    QuestionsDTO getDTOById(Long id);

    boolean saveQuestions(QuestionsDTO questions, Long surveyId, Long userId);

    boolean addQuestions(QuestionsDTO questions, Long surveyId, Long userId);
}
